package com.ssy.lingxi.pay.common;

/**
 * alipay返回状态码
 * @author lqa
 * @version 2.0.0
 * @date 2021/11/3
 */
public enum AliPayResultEnum {
    SUCCESS("10000","","Alipay通用成功枚举"),
    REFUND_SUCCESS("10000","REFUND_SUCCESS","退款成功"),
    WAIT_BUYER_PAY("","WAIT_BUYER_PAY","交易创建，等待买家付款"),
    TRADE_CLOSED("","TRADE_CLOSED","未付款交易超时关闭，或支付完成后全额退款"),
    TRADE_FINISHED("","TRADE_FINISHED","交易结束，不可退款"),
    TRADE_SUCCESS("10000","TRADE_SUCCESS","交易支付成功");
    private String code;
    private String subCode;
    private String message;

    AliPayResultEnum(String code, String subCode, String message) {
        this.code=code;
        this.subCode=subCode;
        this.message=message;

    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSubCode() {
        return subCode;
    }

    public void setSubCode(String subCode) {
        this.subCode = subCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
